ARCHS = x86 mips

export CFLAGS

all: $(ARCHS)  

$(ARCHS):  
	make -C $@.dir
	ar -r lib$@.a $@.dir/*.o


clean:
	rm -f *.a
	rm -f */*.o	
